package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;

/**
 * @author zhaojian
 *
 */
//
@SpringBootApplication(scanBasePackages = "com.qf")
//@SpringBootApplication(exclude ={ DataSourceAutoConfiguration.class,
//                                  DataSourceTransactionManager.class})
@MapperScan(basePackages = "com.qf.dao")// com.qf.dao中的接口及mapper文件；不需要加@Mapper
//@ComponentScan(basePackages = "com.qf") 指定的扫描基本包；
public class SpringBootDemo1Application {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootDemo1Application.class,args);
    }
}
